package 设计模式.strategy;

public class ToyDuck extends Duck{
    @Override
    public void display() {
        System.out.println("玩具鸭");
    }

    public ToyDuck() {
        flyBehavior=new BadFlyBehavior();
    }
}
